package com.cy.myblog.service;

import com.cy.myblog.model.Tmenu;
import com.cy.myblog.pageModel.DataGrid;

import java.util.List;
import java.util.Map;

public interface MenuServiceI {
    public List<Tmenu> findAll();

    public void save(Tmenu menu);

    public Tmenu getById(int id);

    public List<Tmenu> queryByPid(int pid);

    public Map queryMenuTree();

    public DataGrid queryGrid();

    public List<Map> queryEazyUiTree();

    public void delete(int id);
}
